package com.dimension.pojo;

import io.swagger.annotations.ApiModelProperty;

public class Address {
    @ApiModelProperty(value = "收货地址id")
    private Integer addressid;

    @ApiModelProperty(value = "用户id")
    private Integer userid;

    @ApiModelProperty(value = "收货地址名称")
    private String address;

    @ApiModelProperty(value = "地址信息")
    private String detailedaddress;

    @ApiModelProperty(value = "邮政编码")
    private String post;

    @ApiModelProperty(value = "收货人姓名")
    private String name;

    @ApiModelProperty(value = "收货人手机号")
    private String phone;

    @ApiModelProperty(value = " 是否收货，0未收货，1已收货")
    private Integer statue;

    public Address(Integer addressid, Integer userid, String address, String detailedaddress, String post, String name, String phone, Integer statue) {
        this.addressid = addressid;
        this.userid = userid;
        this.address = address;
        this.detailedaddress = detailedaddress;
        this.post = post;
        this.name = name;
        this.phone = phone;
        this.statue = statue;
    }

    public Address() {
        super();
    }

    public Integer getAddressid() {
        return addressid;
    }

    public void setAddressid(Integer addressid) {
        this.addressid = addressid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getDetailedaddress() {
        return detailedaddress;
    }

    public void setDetailedaddress(String detailedaddress) {
        this.detailedaddress = detailedaddress == null ? null : detailedaddress.trim();
    }

    public String getPost() {
        return post;
    }

    public void setPost(String post) {
        this.post = post == null ? null : post.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public Integer getStatue() {
        return statue;
    }

    public void setStatue(Integer statue) {
        this.statue = statue;
    }
}